package com.read.service;

import com.read.dto.params.NovelClickParamsDto;
import com.read.dto.params.NovelUserRecommendParamsDto;

public interface ClickService {

    /**
     * @description 新增用户推荐小说
     * @author sh-sunb6
     * @date 2019-03-09 13:00
     */
    public int addNovelUserRecommend(NovelUserRecommendParamsDto paramsDto);

    /**
     * @description 取消用户推荐
     * @author sh-sunb6
     * @date 2019-03-09 13:01
     */
    public int cancelNovelUserRecommend(int novelId, int userId);

    /**
     * @description 判断用户是否推荐过此小说(true推荐过, false未推荐过)
     * @author sh-sunb6
     * @date 2019-03-09 13:02
     */
    public boolean isUserRecommendNovel(int novelId, int userId);

    public void addNovelSystemRecommend(NovelClickParamsDto paramsDto);

}
